package com.mhc.suzuki.manager;

import com.subaru.common.query.PageResult;
import com.mhc.suzuki.dal.model.MobileAreaDO;
import com.mhc.suzuki.dal.query.MobileAreaQuery;

import java.util.List;


/**
 * Manager for MobileArea.
 */
public interface MobileAreaManager {
    /**
     * query count by query condition.
     */
    int countByQuery(MobileAreaQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(MobileAreaQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(MobileAreaDO record);

    /**
     * insert selective.
     */
    long insertSelective(MobileAreaDO record);

    /**
     * select by query condition.
     */
    List<MobileAreaDO> selectByQuery(MobileAreaQuery query);


    /**
     * select by query condition with page.
     */
    PageResult<MobileAreaDO> selectByQueryWithPage(MobileAreaQuery query);

    /**
     * select by primary key.
     */
    MobileAreaDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective( MobileAreaDO record,  MobileAreaQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(MobileAreaDO record, MobileAreaQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(MobileAreaDO record);
}